<%@ page contentType="text/html;charset=utf-8"%>
<%request.setCharacterEncoding("utf-8"); %>
<%@include file="../common/IncludeTop.jsp"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<head>
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/default/easyui.css">
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.min.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.easyui.min.js"></script>
	<script type="text/javascript">
	</script>
</head>
<body>
<div class="container">
	
	<div class="row" style="margin-top:60px">
		<c:forEach items="${productList}" var="product" varStatus="status" begin="0">
		  <div class="col-sm-6 col-md-4">
		    <div class="thumbnail">
		      <a href="${pageContext.request.contextPath}/product.do?path=show&productId=${product.productid}">
		      	<img data-src="holder.js/300x200" alt="..." src="${product.descn}">
		      </a>
		      <div class="caption">
		        <a href="${pageContext.request.contextPath}/product.do?path=show&productId=${product.productid}"><h3>${product.name}</h3></a>
		        <p>${product.comment}</p>
		        <!-- <p><a href="#" class="btn btn-primary" role="button">Button</a> <a href="#" class="btn btn-default" role="button">Button</a></p> -->
		      </div>
		    </div>
		  </div>
		  	<c:if test="${status.count%3==0}"><c:out value="</div><div class='row' style='margin-top:40'>" escapeXml="false"/></c:if>
		</c:forEach>
	</div>
</div>
</body>
<%@include file="../common/IncludeBottom.jsp"%>


